package org.jeecg.modules.websocket.enums;

public enum WsBussinesType {
    LOCATION("location",1),
    POWER("power", 2),
    SOCKET("socket", 3),
    TRACKING("tracking", 4),  //剩余里程
    ALERT("alert", 5),
    OTHER("other", 6),
    CALORIES("calories", 7),
    ALLINFO("allinfo", 8);



    private final String type;;
    private final int code;

    WsBussinesType(String type, int code) {
        this.type = type;
        this.code = code;

    }

    public String getType() {
        return type;
    }

    public int getCode() {
        return code;
    }

    @Override
    public String toString() {
        return type;
    }



}